<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: models/phold/phold.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_874b8b728d13de0551b51fc369705c70.html">models</a></li><li class="navelem"><a class="el" href="dir_68b2cdc84e26576ee299fc53418bc4c1.html">phold</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">phold.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="phold_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef INC_phold_h</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define INC_phold_h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="ross_8h.html">ross.h</a>&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">         * PHOLD Types</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="phold_8h.html#a364619be03b63dc95a1308ea3d93ef99">   10</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structphold__state.html">phold_state</a> <a class="code" href="structphold__state.html">phold_state</a>;</div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="phold_8h.html#a2ebd827348f4a28ebb9eeef54aa792a8">   11</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structphold__message.html">phold_message</a> <a class="code" href="structphold__message.html">phold_message</a>;</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="structphold__state.html">   13</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structphold__state.html">phold_state</a></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;{</div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="structphold__state.html#a5fabb6e81586e5ecfc107d805aeae522">   15</a></span>&#160;        <span class="keywordtype">long</span> <span class="keywordtype">int</span>         <a class="code" href="structphold__state.html#a5fabb6e81586e5ecfc107d805aeae522">dummy_state</a>;</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;};</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structphold__message.html">   18</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structphold__message.html">phold_message</a></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;{</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="structphold__message.html#af8c90fb91870d4c5ffa202f129bce998">   20</a></span>&#160;        <span class="keywordtype">long</span> <span class="keywordtype">int</span>         <a class="code" href="structphold__message.html#af8c90fb91870d4c5ffa202f129bce998">dummy_data</a>;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;};</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">         * PHOLD Globals</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="phold_8h.html#ac877337ae1e75d1b6640f41799f5a72c">   26</a></span>&#160;<a class="code" href="ross_8h.html#a80b370bc538e17441aef6afaff852678">tw_stime</a> <a class="code" href="phold_8h.html#ac877337ae1e75d1b6640f41799f5a72c">lookahead</a> = 1.0;</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="phold_8h.html#a801a712a2bd444c2abba855288919415">   27</a></span>&#160;<span class="keyword">static</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="phold_8h.html#a801a712a2bd444c2abba855288919415">stagger</a> = 0;</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="phold_8h.html#ab0a805f1db10ddfb818c7b9acfb74a2f">   28</a></span>&#160;<span class="keyword">static</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="phold_8h.html#ab0a805f1db10ddfb818c7b9acfb74a2f">offset_lpid</a> = 0;</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="phold_8h.html#a730376f73359fe937a2a99ba03f53709">   29</a></span>&#160;<span class="keyword">static</span> <a class="code" href="ross_8h.html#a80b370bc538e17441aef6afaff852678">tw_stime</a> <a class="code" href="phold_8h.html#a730376f73359fe937a2a99ba03f53709">mult</a> = 1.4;</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="phold_8h.html#a636adef0ea6194a24b2e97cd664a9c90">   30</a></span>&#160;<span class="keyword">static</span> <a class="code" href="ross_8h.html#a80b370bc538e17441aef6afaff852678">tw_stime</a> <a class="code" href="phold_8h.html#a636adef0ea6194a24b2e97cd664a9c90">percent_remote</a> = 0.25;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="phold_8h.html#ad10a568d289505ada0666f1863587f56">   31</a></span>&#160;<span class="keyword">static</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="phold_8h.html#ad10a568d289505ada0666f1863587f56">ttl_lps</a> = 0;</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="phold_8h.html#a85b1aa5d0aa5762fef568919a47747ba">   32</a></span>&#160;<span class="keyword">static</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="phold_8h.html#a85b1aa5d0aa5762fef568919a47747ba">nlp_per_pe</a> = 8;</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="phold_8h.html#ab1a8e610883dd6f5751db111cdd05be2">   33</a></span>&#160;<span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="phold_8h.html#ab1a8e610883dd6f5751db111cdd05be2">g_phold_start_events</a> = 1;</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="phold_8h.html#a6ecc774eca445e078adacc9300c0e9ca">   34</a></span>&#160;<span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="phold_8h.html#a6ecc774eca445e078adacc9300c0e9ca">optimistic_memory</a> = 100;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">// rate for timestamp exponential distribution</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="phold_8h.html#ad4bbf91c2b6e66b1ad2a070b77b62442">   37</a></span>&#160;<span class="keyword">static</span> <a class="code" href="ross_8h.html#a80b370bc538e17441aef6afaff852678">tw_stime</a> <a class="code" href="phold_8h.html#ad4bbf91c2b6e66b1ad2a070b77b62442">mean</a> = 1.0;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="phold_8h.html#a816584afd634f19479513f095756559b">   39</a></span>&#160;<span class="keyword">static</span> <span class="keywordtype">char</span> <a class="code" href="phold_8h.html#a816584afd634f19479513f095756559b">run_id</a>[1024] = <span class="stringliteral">&quot;undefined&quot;</span>;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="phold_8h_html_a85b1aa5d0aa5762fef568919a47747ba"><div class="ttname"><a href="phold_8h.html#a85b1aa5d0aa5762fef568919a47747ba">nlp_per_pe</a></div><div class="ttdeci">static unsigned int nlp_per_pe</div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00032">phold.h:32</a></div></div>
<div class="ttc" id="structphold__message_html_af8c90fb91870d4c5ffa202f129bce998"><div class="ttname"><a href="structphold__message.html#af8c90fb91870d4c5ffa202f129bce998">phold_message::dummy_data</a></div><div class="ttdeci">long int dummy_data</div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00020">phold.h:20</a></div></div>
<div class="ttc" id="ross_8h_html_a80b370bc538e17441aef6afaff852678"><div class="ttname"><a href="ross_8h.html#a80b370bc538e17441aef6afaff852678">tw_stime</a></div><div class="ttdeci">double tw_stime</div><div class="ttdef"><b>Definition:</b> <a href="ross_8h_source.html#l00150">ross.h:150</a></div></div>
<div class="ttc" id="phold_8h_html_ab1a8e610883dd6f5751db111cdd05be2"><div class="ttname"><a href="phold_8h.html#ab1a8e610883dd6f5751db111cdd05be2">g_phold_start_events</a></div><div class="ttdeci">static int g_phold_start_events</div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00033">phold.h:33</a></div></div>
<div class="ttc" id="phold_8h_html_ad4bbf91c2b6e66b1ad2a070b77b62442"><div class="ttname"><a href="phold_8h.html#ad4bbf91c2b6e66b1ad2a070b77b62442">mean</a></div><div class="ttdeci">static tw_stime mean</div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00037">phold.h:37</a></div></div>
<div class="ttc" id="phold_8h_html_ad10a568d289505ada0666f1863587f56"><div class="ttname"><a href="phold_8h.html#ad10a568d289505ada0666f1863587f56">ttl_lps</a></div><div class="ttdeci">static unsigned int ttl_lps</div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00031">phold.h:31</a></div></div>
<div class="ttc" id="structphold__state_html_a5fabb6e81586e5ecfc107d805aeae522"><div class="ttname"><a href="structphold__state.html#a5fabb6e81586e5ecfc107d805aeae522">phold_state::dummy_state</a></div><div class="ttdeci">long int dummy_state</div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00015">phold.h:15</a></div></div>
<div class="ttc" id="phold_8h_html_a730376f73359fe937a2a99ba03f53709"><div class="ttname"><a href="phold_8h.html#a730376f73359fe937a2a99ba03f53709">mult</a></div><div class="ttdeci">static tw_stime mult</div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00029">phold.h:29</a></div></div>
<div class="ttc" id="phold_8h_html_ac877337ae1e75d1b6640f41799f5a72c"><div class="ttname"><a href="phold_8h.html#ac877337ae1e75d1b6640f41799f5a72c">lookahead</a></div><div class="ttdeci">tw_stime lookahead</div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00026">phold.h:26</a></div></div>
<div class="ttc" id="phold_8h_html_ab0a805f1db10ddfb818c7b9acfb74a2f"><div class="ttname"><a href="phold_8h.html#ab0a805f1db10ddfb818c7b9acfb74a2f">offset_lpid</a></div><div class="ttdeci">static unsigned int offset_lpid</div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00028">phold.h:28</a></div></div>
<div class="ttc" id="phold_8h_html_a801a712a2bd444c2abba855288919415"><div class="ttname"><a href="phold_8h.html#a801a712a2bd444c2abba855288919415">stagger</a></div><div class="ttdeci">static unsigned int stagger</div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00027">phold.h:27</a></div></div>
<div class="ttc" id="phold_8h_html_a6ecc774eca445e078adacc9300c0e9ca"><div class="ttname"><a href="phold_8h.html#a6ecc774eca445e078adacc9300c0e9ca">optimistic_memory</a></div><div class="ttdeci">static int optimistic_memory</div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00034">phold.h:34</a></div></div>
<div class="ttc" id="structphold__state_html"><div class="ttname"><a href="structphold__state.html">phold_state</a></div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00013">phold.h:13</a></div></div>
<div class="ttc" id="ross_8h_html"><div class="ttname"><a href="ross_8h.html">ross.h</a></div></div>
<div class="ttc" id="structphold__message_html"><div class="ttname"><a href="structphold__message.html">phold_message</a></div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00018">phold.h:18</a></div></div>
<div class="ttc" id="phold_8h_html_a636adef0ea6194a24b2e97cd664a9c90"><div class="ttname"><a href="phold_8h.html#a636adef0ea6194a24b2e97cd664a9c90">percent_remote</a></div><div class="ttdeci">static tw_stime percent_remote</div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00030">phold.h:30</a></div></div>
<div class="ttc" id="phold_8h_html_a816584afd634f19479513f095756559b"><div class="ttname"><a href="phold_8h.html#a816584afd634f19479513f095756559b">run_id</a></div><div class="ttdeci">static char run_id[1024]</div><div class="ttdef"><b>Definition:</b> <a href="phold_8h_source.html#l00039">phold.h:39</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
